cache File
Caches a downloaded file (GUID) and installs it into the tool cache with a given targetName
The cache will be keyed on tool, version, and arch, and the file will be put at targetFile inside that cache.
Parameters
sourceFile
the file to cache into tools. Typically a result of downloadTool which is a guid.
tool
tool name
version
version of the tool. semver format
arch
architecture of the tool. Optional. Defaults to machine architecture
targetFile
the name of the file name in the tools directory. Defaults to sourceFile's name.
Sources
js source
Link copied to clipboard